//获取文章列表
exports.ListArticles = async (req, res, next) => {
  try {
    //处理请求
    res.send('getUserArticles')
  } catch (err) {
    next(err)
  }
}

//获取用户关注的作者文章列表
exports.FeedArticles = async (req, res, next) => {
  try {
    //处理请求
    res.send('getFeedArticles')
  } catch (err) {
    next(err)
  }
}

//获取文章
exports.getArticles = async (req, res, next) => {
  try {
    //处理请求
    res.send('getArticles')
  } catch (err) {
    next(err)
  }
}

//创建文章
exports.createArticles = async (req, res, next) => {
  try {
    //处理请求
    res.send('createArticles')
  } catch (err) {
    next(err)
  }
}

//更新文章
exports.updateArticles = async (req, res, next) => {
  try {
    //处理请求
    res.send('updateArticles')
  } catch (err) {
    next(err)
  }
}

//删除文章
exports.deleteArticles = async (req, res, next) => {
  try {
    //处理请求
    res.send('deleteArticles')
  } catch (err) {
    next(err)
  }
}

//为文章添加评论
exports.addComments = async (req, res, next) => {
  try {
    //处理请求
    res.send('addComments')
  } catch (err) {
    next(err)
  }
}

//为文章添加评论
exports.getComments = async (req, res, next) => {
  try {
    //处理请求
    res.send('getComments')
  } catch (err) {
    next(err)
  }
}

//删除评论
exports.deleteComments = async (req, res, next) => {
  try {
    //处理请求
    res.send('deleteComments')
  } catch (err) {
    next(err)
  }
}

//收藏喜爱文章
exports.favoriteComments = async (req, res, next) => {
  try {
    //处理请求
    res.send('favoriteComments')
  } catch (err) {
    next(err)
  }
}

//删除不喜欢的文章
exports.unfavoriteArticles = async (req, res, next) => {
  try {
    //处理请求
    res.send('unfavoriteArticles')
  } catch (err) {
    next(err)
  }
}